package com.sqx.modules.health.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sqx.modules.health.entity.Versioninfo;
import com.sqx.modules.health.mapper.VersioninfoMapper;
import com.sqx.modules.health.service.IVersioninfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gxy
 * @since 2022-07-29
 */
@Service
public class VersioninfoServiceImpl extends ServiceImpl<VersioninfoMapper, Versioninfo> implements IVersioninfoService {

    @Autowired
    private VersioninfoMapper mapper;

    @Override
    public Versioninfo getLatestVersion() {
        return mapper.getLatestVersion();
    }
}
